aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/bots/[bot_name]
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-03 21:49:45 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-03 21:49:45 +0100
commit698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd (patch)
tree670b5f25b776f180f54cbb8a16f00bbce808b374 /web/pw-server/src/routes/bots/[bot_name]
parentb1f8062b85ee739e9efb32cbdfde205faaf297d8 (diff)
downloadplanetwars.dev-698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd.tar.xz
planetwars.dev-698ae8d15e4b231ecaa0d168c2c4d5d941b06fdd.zip
add logo and page titles
Diffstat (limited to 'web/pw-server/src/routes/bots/[bot_name]')
-rw-r--r--web/pw-server/src/routes/bots/[bot_name]/__layout.svelte6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte b/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte
index 4393af6..f527690 100644
--- a/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte
+++ b/web/pw-server/src/routes/bots/[bot_name]/__layout.svelte
@@ -17,12 +17,16 @@
<script lang="ts">
import NavTab from "$lib/components/NavTab.svelte";
-import { currentUser } from "$lib/stores/current_user";
+ import { currentUser } from "$lib/stores/current_user";
export let bot;
export let owner;
</script>
+<svelte:head>
+ <title>{bot["name"]}</title>
+</svelte:head>
+
<div class="header">
<div class="header-title-line">
<h1 class="bot-name">{bot["name"]}</h1>